package ThaumPerditio.common.handler;

import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.config.Property;
import ThaumPerditio.common.ThaumPerditio;

public class ConfigHandler
{
    public static Configuration config;

    public static boolean researchTags = true;
    public static boolean useGTNHRecipes = false;

    public static void init ()
    {
        ThaumPerditio.log.info("Loading config");

        config.load();

        researchTags = config.getBoolean("research_tags", "research", true, "Setting this to false will disable the '[TP]' tag on the research");
        useGTNHRecipes = config.getBoolean("GTNH_Recipes", "common", false, "Setting this to true will enable the hardcore GTNH recipes and researches");

        config.save();
    }
}